-
Home
-
Yoast Duplicate Post
-
4.1.2
-
Code
-
Classes
- Post_Duplicator
Total Complexity |
55 |
Dependencies |
3 |
Dependents |
5 |
Total lines |
367 |
Lines of code |
222 |
Logical lines of code |
117 |
Comment lines |
105 |
Methods |
9 |
Properties |
0 |
Methods 9
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
create_duplicate() |
A |
41 |
15 |
49 |
copy_post_meta_info() |
A |
44 |
12 |
42 |
copy_post_taxonomies() |
A |
50 |
8 |
27 |
generate_copy_status() |
S |
56 |
7 |
18 |
generate_copy_author() |
S |
58 |
5 |
16 |
generate_copy_title() |
S |
58 |
4 |
16 |
create_duplicate_for_rewrite_and_republish() |
S |
53 |
2 |
23 |
get_default_options() |
S |
53 |
1 |
26 |
set_modified() |
S |
72 |
1 |
5 |